package com.baiyang.app.ui.bookCity;

import androidx.lifecycle.LiveData;
import androidx.lifecycle.MutableLiveData;
import androidx.lifecycle.ViewModel;

import com.alibaba.fastjson.JSONObject;


public class BookCityViewModel extends ViewModel {

    private MutableLiveData<JSONObject> getDataResult;

    public BookCityViewModel() {
        getDataResult = new MutableLiveData<>();
    }

    public LiveData<JSONObject> getGetDataResult(){
        return getDataResult;
    }
    public void setGetDataResult(JSONObject result){
        this.getDataResult.postValue(result);
    }

}